using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
namespace JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects
{
	public class RequestSysProductsDto{
		/// <summary>
		/// 所属汽车店
		/// </summary>
        public string carShopId { get; set; }
        /// <summary>
        /// 记录品牌名称，有助于消费者识别和选择。（连接到字典表）
        /// </summary>
        public string brand { get; set; }
		/// <summary>
		/// 抵扣(购买商品时减少的金额)
		/// </summary>
		public decimal deduction { get; set; }
		/// <summary>
		/// 描述(最多1000个汉字或2000个字母或符号)
		/// </summary>
		public string description { get; set; }
		/// <summary>
		/// 折扣(百分比如20表示计算时乘以20%)
		/// </summary>
		public int discount { get; set; }
        /// <summary>
        /// 图片文件数组
        /// </summary>
        public List<IFormFile> imageFileList { get; set; }
        /// <summary>
        /// 图片名称顺序
        /// </summary>
        public List<string> imageOrders { get; set; }
		/// <summary>
		/// 要保留的图片名称
		/// </summary>
        public List<string> retainImages { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
		/// <summary>
		/// 价格(保留两位小数)
		/// </summary>
		public decimal price { get; set; }
		/// <summary>
		/// 库存(可以在添加的时候就给值)
		/// </summary>
		public int? stockQuantity { get; set; }
	}
}
